//提供器
/**
 * ReactDOM : 渲染动态元素
 */
import React from 'react';
import ReactDOM from "react-dom";
import Router from './router/index.jsx' // 引入路由
import 'core-js/es'
import 'react-app-polyfill/ie9'
import 'react-app-polyfill/stable'
import { Provider } from 'react-redux';
import store from './store'

/**
 * ReactDOM.render(arg1：标签元素或组件，arg2：要注入的元素);
 */
ReactDOM.render(
  <Provider store={store}>
    <Router />
  </Provider>
    ,document.getElementById('root')
);